package com.ch10.service.impl;

import com.ch10.mapper.UserMapper;
import com.ch10.service.UserService;

/**
 * @ClassName UserServiceImpl
 * @Description TODO
 * @Author Kx
 * @Date 2025/4/30 11:05
 * @Version 1.0
 */
public class UserServiceImpl implements UserService {

    private UserMapper userMapper;

    public UserServiceImpl(UserMapper userMapper) {
        this.userMapper = userMapper;
    }

    @Override
    public void add() {
        userMapper.save();
    }
}
